package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.ad.AdActivityUserData;
import com.yanqu.road.entity.activity.civil.ActivityReceiveCivilRewardData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class ActivityCivilRewardBusiness {

    public static Map<Long, Map<Integer, ActivityReceiveCivilRewardData>> getAdActivityUserData(int activityId, long userId) {
        return DaoHelper.getActivityCivilRewardDaoImpl().getData(activityId, userId);
    }

    public static boolean addAdActivityUserData(ActivityReceiveCivilRewardData data) {
        return DaoHelper.getActivityCivilRewardDaoImpl().add(data);
    }
}
